package com.qingke.java.perform;

import com.qingke.java.perform.impl.FlyWithWings;
import com.qingke.java.perform.impl.Quack;

public class MallarDuck extends Duck{

	
	
	public MallarDuck() {
		flyBehavior =new FlyWithWings();
		quackBehavior=new Quack();
	}
	@Override
	public void display() {
		System.out.println("I'm a real Mallard duck");
		
	}
	
	

}
